package Envo.Assets 
{
	import flash.display.MovieClip;
	import flash.geom.ColorTransform;
	
	/**
	 * ...
	 * @author Sam Morrison
	 */
	public class PlayerFloor extends MovieClip 
	{
		// What type of block this is
		public var type:String;
		
		public function PlayerFloor(type:String) 
		{
			this.type = type;
			
			if(type == "normal")
			{
				this.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 98, 98, 98, 0);
			}
			if (type == "speed")
			{
				this.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 255, 173, 56, 0);
			}
			if (type == "bounce")
			{
				this.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 121, 191, 0);
			}
		}
		
	}

}